/*******************************************************************************
 * Copyright (c) 2010 Marcelo Cataldo, Sangeeth Nambiar
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * RefreshNodes.java
 * 
 * Command to refresh the color and size of nodes in the dependency graph
 * 
 * Contributors:
 *    Marcelo Cataldo  - initial implementation 
 *    Sangeeth Nambiar - initial implementation
 *******************************************************************************/
package edu.cmu.isr.dinvenio.ui.commands;

import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;

import edu.cmu.isr.dinvenio.Activator;

public class RefreshNodes extends AbstractHandler   {
	public RefreshNodes(){
	}
	
	public Object execute(ExecutionEvent event) throws ExecutionException {
		Activator.myController.refreshGraphNodes();
		return null;
	}
}
